package com.lovo.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 收货地址实体类
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_address")
public class AddressEntity {
    /**
     * 收货地址id
     */
    @TableId(type = IdType.AUTO)
    private Long addressId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 收货人名字
     */
    private String receiverName;
    /**
     * 收货人手机号码
     */
    private String receiverPhone;
    /**
     * 收货地址区域
     */
    private String receiverRegion;
    /**
     * 收货详细地址
     */
    private String receiverAddress;
    /**
     * 默认地址状态
     */
    private Integer defaultAddress;
}
